Similar to MOVEGUI but position figure relative to other figure instead of position on screen. Treat other window as scree area CALL movegui_align(fig,hrelfig,position)
movegui_align(gcf,'pointer','northwest'),movegui(gcf,'onscreen');